package com.xique.park.api;

import com.xique.common.core.constant.ServiceNameConstants;
import com.xique.common.core.domain.R;
import com.xique.park.api.factory.RemoteParkInAndOutServiceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 进出记录客户端
 *
 * @author WLD
 */
@FeignClient(contextId = "RemoteParkInAndOutService",
        value = ServiceNameConstants.PARK_BIZ_SERVICE,
        fallbackFactory = RemoteParkInAndOutServiceFallbackFactory.class)
public interface RemoteParkInAndOutService {

    /**
     * 定时删除进出记录
     *
     * @return /
     */
    @PostMapping("/web/parkInAndOut/delete")
    R<String> delete();

}
